<script setup>
import WarehousingEntry from '@/views/warehousing/WarehousingEntry/index.vue'
import WarehousingEntryB from '@/views/warehousing/WarehousingEntryB/index.vue'
import WarehousingEntryC from '@/views/warehousing/WarehousingEntryC/index.vue'
import WarehousingEntryD from '@/views/warehousing/WarehousingEntryD/index.vue'
import WarehousingEntryE from '@/views/warehousing/WarehousingEntryE/index.vue'
import WarehousingEntryF from '@/views/warehousing/WarehousingEntryF/idnex.vue'
import { ref } from 'vue'

const activeName = ref('first')

const handleClick = (tab, event) => {
  console.log(tab, event)
}
</script>

<template>
  <div class="app-container">
    <!--tabus跳转头部菜单-->
    <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
      <el-tab-pane label="到货通知" name="first">
        <WarehousingEntry/>
      </el-tab-pane>
      <el-tab-pane label="待到货" name="second">
        <WarehousingEntryB></WarehousingEntryB>
      </el-tab-pane>
      <el-tab-pane label="代卸货" name="third">
        <WarehousingEntryC></WarehousingEntryC>
      </el-tab-pane>
      <el-tab-pane label="待分拣" name="fourth">
        <WarehousingEntryD></WarehousingEntryD>
      </el-tab-pane>
      <el-tab-pane label="待上架" name="fifth">
        <WarehousingEntryE></WarehousingEntryE>
      </el-tab-pane>
      <el-tab-pane label="收获明细" name="sixth">
        <WarehousingEntryF></WarehousingEntryF>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<style>
/* 可以添加一些样式 */
.app-container {
  padding: 20px;
}

.demo-tabs {
  margin-top: 20px;
}
</style>